package com.example.fpe_vote.db2.controller;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.example.fpe_vote.common.Result;
import com.example.fpe_vote.db2.entity.Zlemployee;
import com.example.fpe_vote.db2.service.IZlemployeeService;
import org.aspectj.apache.bcel.classfile.Code;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author jobob
 * @since 2022-12-01
 */
@RestController
@RequestMapping("/zlemployee")
@DS("slave_1")
public class ZlemployeeController {
    @Autowired
    IZlemployeeService zlemployeeService;
//
//    @GetMapping("/getAll/{code}")
//    public Result getAll(@PathVariable String code){
//        String sfz=zlemployeeService.querySFZByGhid(code);
//        return Result.getSuccess().setData(sfz);
//    }
}
